package com.sjgtw.cloud.web.equipmentCheck.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 防洪设备检查对象 t_eg_equipment_check
 * 
 * @author lvyoufang
 * @date 2024-03-14
 */
@ApiModel(value="防洪设备检查对象", description="t_eg_equipment_check")
public class EquipmentCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 区段 */
    @ApiModelProperty(value = "区段")
    @Excel(name = "区段")
    private Long section;

    /** 区段名称 */
    @ApiModelProperty(value = "区段名称")
    @Excel(name = "区段名称")
    private String sectionName;

    /** 工区 */
    @ApiModelProperty(value = "工区")
    @Excel(name = "工区")
    private Long workArea;

    /** 工区名称 */
    @ApiModelProperty(value = "工区名称")
    @Excel(name = "工区名称")
    private String workAreaName;

    /** 检查时间 */
    @ApiModelProperty(value = "检查时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    /** 检查方式 */
    @ApiModelProperty(value = "检查方式")
    @Excel(name = "检查方式")
    private String checkWay;

    /** 检查内容 */
    @ApiModelProperty(value = "检查内容")
    @Excel(name = "检查内容")
    private String checkContent;

    /** 人次 */
    @ApiModelProperty(value = "人次")
    @Excel(name = "人次")
    private String personTime;

    /** 发现问题 */
    @ApiModelProperty(value = "发现问题")
    @Excel(name = "发现问题")
    private String problem;

    /** 采取措施 */
    @ApiModelProperty(value = "采取措施")
    @Excel(name = "采取措施")
    private String measure;

    /** 是否已提交 */
    @ApiModelProperty(value = "是否已提交")
    @Excel(name = "是否已提交")
    private Boolean submited;

    /** 创建人id */
    @ApiModelProperty(value = "创建人id")
    @Excel(name = "创建人id")
    private Long createUserId;

    private List<Long> deptIds;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSection(Long section) 
    {
        this.section = section;
    }

    public Long getSection() 
    {
        return section;
    }
    public void setSectionName(String sectionName) 
    {
        this.sectionName = sectionName;
    }

    public String getSectionName() 
    {
        return sectionName;
    }
    public void setWorkArea(Long workArea) 
    {
        this.workArea = workArea;
    }

    public Long getWorkArea() 
    {
        return workArea;
    }
    public void setWorkAreaName(String workAreaName) 
    {
        this.workAreaName = workAreaName;
    }

    public String getWorkAreaName() 
    {
        return workAreaName;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setCheckWay(String checkWay) 
    {
        this.checkWay = checkWay;
    }

    public String getCheckWay() 
    {
        return checkWay;
    }
    public void setCheckContent(String checkContent) 
    {
        this.checkContent = checkContent;
    }

    public String getCheckContent() 
    {
        return checkContent;
    }
    public void setPersonTime(String personTime) 
    {
        this.personTime = personTime;
    }

    public String getPersonTime() 
    {
        return personTime;
    }
    public void setProblem(String problem) 
    {
        this.problem = problem;
    }

    public String getProblem() 
    {
        return problem;
    }
    public void setMeasure(String measure) 
    {
        this.measure = measure;
    }

    public String getMeasure() 
    {
        return measure;
    }
    public void setSubmited(Boolean submited)
    {
        this.submited = submited;
    }

    public Boolean getSubmited()
    {
        return submited;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    public List<Long> getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(List<Long> deptIds) {
        this.deptIds = deptIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("section", getSection())
            .append("sectionName", getSectionName())
            .append("workArea", getWorkArea())
            .append("workAreaName", getWorkAreaName())
            .append("checkTime", getCheckTime())
            .append("checkWay", getCheckWay())
            .append("checkContent", getCheckContent())
            .append("personTime", getPersonTime())
            .append("problem", getProblem())
            .append("measure", getMeasure())
            .append("submited", getSubmited())
            .append("remark", getRemark())
            .append("createUserId", getCreateUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
